Use do instead of while. (#134031, Morten Welinder);
authorMatthias Clasen <maclas@gmx.de>
Fri, 13 Feb 2004 23:02:58 +0000 (23:02 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 13 Feb 2004 23:02:58 +0000 (23:02 +0000)
Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c (bsearch_elt_with_offset):
Use do instead of while.  (#134031, Morten Welinder);

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreemodelfilter.c

index 7a3899ce1a2566260ec14c79aab450518bd1d1e3..a30ec5d1deea6db3c68badbd38e5404e49bc032f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
+       Use do instead of while.  (#134031, Morten Welinder);
+
 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Suppress xsltproc and xmlcatalog checks
index 7a3899ce1a2566260ec14c79aab450518bd1d1e3..a30ec5d1deea6db3c68badbd38e5404e49bc032f 100644 (file)
@@ -1,3 +1,8 @@
+Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
+       Use do instead of while.  (#134031, Morten Welinder);
+
 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Suppress xsltproc and xmlcatalog checks
index 7a3899ce1a2566260ec14c79aab450518bd1d1e3..a30ec5d1deea6db3c68badbd38e5404e49bc032f 100644 (file)
@@ -1,3 +1,8 @@
+Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
+       Use do instead of while.  (#134031, Morten Welinder);
+
 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Suppress xsltproc and xmlcatalog checks
index 7a3899ce1a2566260ec14c79aab450518bd1d1e3..a30ec5d1deea6db3c68badbd38e5404e49bc032f 100644 (file)
@@ -1,3 +1,8 @@
+Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
+       Use do instead of while.  (#134031, Morten Welinder);
+
 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Suppress xsltproc and xmlcatalog checks
index 7a3899ce1a2566260ec14c79aab450518bd1d1e3..a30ec5d1deea6db3c68badbd38e5404e49bc032f 100644 (file)
@@ -1,3 +1,8 @@
+Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
+       Use do instead of while.  (#134031, Morten Welinder);
+
 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Suppress xsltproc and xmlcatalog checks
index 691e7afe8de6541fa3a879461af2fc142a5c9f69..b6934c90b0396b39411bbabf3ba20548c70eb242 100644 (file)
@@ -992,7 +992,7 @@ bsearch_elt_with_offset (GArray *array,
         return NULL;
     }
 
-  while (start != end)
+  do
     {
       middle = (start + end) / 2;
 
@@ -1005,6 +1005,7 @@ bsearch_elt_with_offset (GArray *array,
       else
         break;
     }
+  while (start != end);
 
   if (elt->offset == offset)
     {